<!DOCTYPE html>       
<!--
==========================================================================
云捷GO自动生成修改页面代码,只生成一次,按需修改.
生成日期：2021-08-01 08:34:56
生成路径: template/module/project/edit.html
生成人：gfcms
==========================================================================
-->
<html lang="zh">
<head>
    {{template "header" (ossUrl)}}
    <link href="/resource//ajax/libs/datapicker/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-project-edit">
        <input name="Id" value="{{.project.Id}}" type="hidden">
            
            <div class="form-group">
                <label class="col-sm-3 control-label">项目名称：</label>
                <div class="col-sm-8">
                    <input name="name" value="{{.project.Name}}" class="form-control"  type="text" required>
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">合同编号：</label>
                <div class="col-sm-8">
                    <input name="number" value="{{.project.Number}}" class="form-control"  type="text" >
                </div>
            </div>
             
            <div class="form-group">
                <label class="col-sm-3 control-label">项目类型：</label>
                <div class="col-sm-8">
                    <select name="type" class="form-control m-b" >
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>  
            
            <div class="form-group">
                <label class="col-sm-3 control-label">商务：</label>
                <div class="col-sm-8">
                    <input name="manager" value="{{.project.Manager}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">客户：</label>
                <div class="col-sm-8">
                    <input name="customer" value="{{.project.Customer}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">邮箱：</label>
                <div class="col-sm-8">
                    <input name="email" value="{{.project.Email}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">电话：</label>
                <div class="col-sm-8">
                    <input name="telephone" value="{{.project.Telephone}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">接单时间：</label>
                <div class="col-sm-8">
                    <input name="ordertime" value="{{.project.Ordertime}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">完结时间：</label>
                <div class="col-sm-8">
                    <input name="overtime" value="{{.project.Overtime}}" class="form-control"  type="text" >
                </div>
            </div>
              
    </form>
</div>
{{template "footer" (ossUrl)}}
<script src="/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript">
    var prefix = ctx + "module/project";
    $("#form-project-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-project-edit').serialize());
        }
    }
                                                    
    
</script>
</body>
</html>